import request from "@/utils/request";

export function GetData(query,formkey) {
  return request({
    url: '/DataOperation/GetData',
    method: 'POST',
    data: query,
    headers: {
      'X-FormKey': formkey
    }
  })
}

export function GetSelfRefData(query,formkey) {
  return request({
    url: '/DataOperation/GetSelfRefData',
    method: 'POST',
    data: query,
    headers: {
      'X-FormKey': formkey
    }
  })
}
export function BatchTableOperateRequestByCRUD(query,formkey) {
  return request({
    url: '/DataOperation/BatchTableOperateRequestByCRUD',
    method: 'POST',
    data: query,
    headers: {
      'X-FormKey': formkey
    }
  })
}